package com.care.mall.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.care.common.core.annotation.Excel;
import com.care.common.core.web.domain.BaseEntity;

/**
 * 商品信息对象 mall_spu_info
 *
 * @author 李光耀负责
 * @date 2024-03-27
 */
public class MallSpuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long spuId;

    /** 商家编号 */
    @Excel(name = "商家编号")
    private Long businessId;

    /** 品牌编号 */
    @Excel(name = "品牌编号")
    private Long brandId;

    /** 商品型号 */
    @Excel(name = "商品型号")
    private String spuModel;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String spuName;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private Long spuStatus;

    /** 类目编号 */
    @Excel(name = "类目编号")
    private Long categoryId;

    /** 展示图片 */
    @Excel(name = "展示图片")
    private String spuImg;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String spuDescription;

    public void setSpuId(Long spuId)
    {
        this.spuId = spuId;
    }

    public Long getSpuId()
    {
        return spuId;
    }
    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setSpuModel(String spuModel)
    {
        this.spuModel = spuModel;
    }

    public String getSpuModel()
    {
        return spuModel;
    }
    public void setSpuName(String spuName)
    {
        this.spuName = spuName;
    }

    public String getSpuName()
    {
        return spuName;
    }
    public void setSpuStatus(Long spuStatus)
    {
        this.spuStatus = spuStatus;
    }

    public Long getSpuStatus()
    {
        return spuStatus;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setSpuImg(String spuImg)
    {
        this.spuImg = spuImg;
    }

    public String getSpuImg()
    {
        return spuImg;
    }
    public void setSpuDescription(String spuDescription)
    {
        this.spuDescription = spuDescription;
    }

    public String getSpuDescription()
    {
        return spuDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("spuId", getSpuId())
            .append("businessId", getBusinessId())
            .append("brandId", getBrandId())
            .append("spuModel", getSpuModel())
            .append("spuName", getSpuName())
            .append("spuStatus", getSpuStatus())
            .append("categoryId", getCategoryId())
            .append("spuImg", getSpuImg())
            .append("spuDescription", getSpuDescription())
            .toString();
    }
}
